package com.xyy.saas.payment.merchant.core.dto;

public class FrozenDto {
    /**
     * 构建对象
     */
    public static FrozenDto build(String businessOrderType, String accountId, String amount, String bizChannelOrderId) {
        FrozenDto frozenDto = new FrozenDto();
        frozenDto.setBusinessOrderType(businessOrderType);
        frozenDto.setAccountId(accountId);
        frozenDto.setAmount(amount);
        frozenDto.setBizChannelOrderId(bizChannelOrderId);
        return frozenDto;
    }

    private String businessOrderType;
    private String accountId;
    private String orderNo;
    private String bizChannelOrderId;
    private String amount;

    /**
     * 1：冻结（会员→担保）
     * 2：解冻（担保→会员）
     * 4：见证+收单的冻结资金解冻
     * 5: 可提现冻结（会员→担保）
     * 6: 可提现解冻（担保→会员）
     * 7: 在途充值解冻（担保→会员）
     */
    public static final String FUCC_FLAG_5 = "5";
    public static final String FUCC_FLAG_6 = "6";
    private String functionFlag;

    private String currency = "CNY";

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getBizChannelOrderId() {
        return bizChannelOrderId;
    }

    public void setBizChannelOrderId(String bizChannelOrderId) {
        this.bizChannelOrderId = bizChannelOrderId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getFunctionFlag() {
        return functionFlag;
    }

    public void setFunctionFlag(String functionFlag) {
        this.functionFlag = functionFlag;
    }
}
